﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace App.Validate
{
    public abstract class CompositeValidator:Validator
    {
        public CompositeValidator(string messageTemplate, IEnumerable<Validator> validators):base(messageTemplate)
        {
            Guard.ArgumentNotNull(validators, "validators");
            this.Validators = validators;
        }

        public IEnumerable<Validator> Validators { get; private set; }
    }
}